package com.ttai.dagger.module.activity;

import com.ttai.presenter.activity.SetMiYaoAgainPresenter;
import com.ttai.ui.activity.SetMiyaoAgain;

import dagger.Module;
import dagger.Provides;

@Module
public class SetMiYaoAgainPresenterModule {
    SetMiyaoAgain setMiyaoAgain;

    public SetMiYaoAgainPresenterModule(SetMiyaoAgain setMiyaoAgain) {
        this.setMiyaoAgain = setMiyaoAgain;
    }

    @Provides
    SetMiYaoAgainPresenter provideSetMiYaoAgainPresenter(){
        return new SetMiYaoAgainPresenter(setMiyaoAgain);
    }
}
